/**
*  
* @Function 动态sql实体类 
* @ProjectName credit-data-platform 
* @PackageName com.py.credit.entity    
* @FileName DynamicSqlEntity.java    
* @Date 2018年6月28日上午10:48:06
* @Author Min DongXv
* @Copyright (c) 2018, 金电联行 All Rights Reserved.   
*   
*/  
package com.py.credit.entity;

import java.io.Serializable;

/**
*   
* @Function 动态sql实体类
* @ClassName DynamicSqlEntity   
* @Date 2018年6月28日 上午10:48:06   
* @Author Min DongXv
*       
*/
public class DynamicSqlEntity implements Serializable {

	private static final long serialVersionUID = -2790531558949687920L;
	/**
	 * 返回主键
	 */
	private Integer id;
	/**
	 * 动态sql
	 */
	private String sql;
	
	public DynamicSqlEntity() {
	}

	/**
	 * @param sql
	 */
	public DynamicSqlEntity(String sql) {
		this.sql = sql;
	}

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the sql
	 */
	public String getSql() {
		return sql;
	}

	/**
	 * @param sql
	 *            the sql to set
	 */
	public void setSql(String sql) {
		this.sql = sql;
	}

	@Override
	public String toString() {
		return "DynamicSqlEntity [id=" + id + ", sql=" + sql + "]";
	}
}
